home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: phcoms4.seri.philips.nl!misf1!Pvestjen
- From: Pvestjen@ms.philips.nl (Patrick Vestjens)
- Subject: Re: prototype error
- Message-ID: <1996Mar15.084834.23743@ms.philips.nl>
- Sender: news@ms.philips.nl
- Organization: Philips Medical Systems, Best
- X-Newsreader: TIN [version 1.2 PL2]
- References: <4i8688$1gr@cloner4.netcom.com>
- Date: Fri, 15 Mar 1996 08:48:34 GMT
-
- harold brent hyatt (brenth@ix.netcom.com) wrote:
- : I copied this program from a C primer and get an error as follows:
- : "Call to function sound, delay, nosound with no prototype."
- : I'm using a Borland 3.1 C++ compiler in the EasyWin mode. I have
- : tried switching the compiler from ANSI to Borland C++, but with the
- : same result. What's wrong? Thanks.
-
- Sounds like you forgot to include the header file that has the
- prototypes for sound, delay and nosound in it. Do you know in what
- header file these are supposed to be? You can probably find out by using
- the online help.
-
- I wonder though, did you just get the above warning or did you also get
- some 'unresolved references' during the linking phase? The warning you
- describe should not keep the compiler from generating an executable,
- however the 'unresolved references' will.
-
- Good luck,
-
- Patrick.
-